from fastapi import APIRouter

user = APIRouter()


@user.get('/')
def info():
    return {'userid': 2, 'username': '苏轼'}


@user.get('/show')
def show():
    return {'show': 2, 'username': '苏轼'}
